add_executable(day1
    main.cpp
    ${PROJECT_SOURCE_DIR}/include/glad.c)
target_link_libraries(day1 PRIVATE
    GL GLU glut dl
    ${glm_LIBRARIES}
    ${Freetype_LIBRARIES})
target_include_directories(day1 PRIVATE
    ${PROJECT_SOURCE_DIR}/include
    ${Freetype_INCLUDE_DIRS})

IF (NOT ${PROJECT_SOURCE_DIR} STREQUAL ${CMAKE_CURRENT_BINARY_DIR})
	file(COPY "${PROJECT_SOURCE_DIR}/resource" DESTINATION ${CMAKE_CURRENT_BINARY_DIR})
ENDIF (NOT ${PROJECT_SOURCE_DIR} STREQUAL ${CMAKE_CURRENT_BINARY_DIR})

